<template>
    <el-container v-loading="loading">
        <left @check="trans"></left>
        <el-container>
            <router-view></router-view>
        </el-container>
    </el-container>
</template>
<script>
import Left from "./left/left";
export default {
  data() {
    return {
      data: [
        {
          label: "个人信息",
          value: 0
        },
        {
          label: "任务完成数据",
          value: 1
        },
        {
          label: "密码修改",
          value: 2
        }
      ],
      state: 1,
      loading: false
    };
  },
  components: {
    Left
  },
  methods: {
    trans(data) {
      this.$router.push(`/${data}`);
    }
  }
};
</script>
<style lang="stylus" scoped rel="stylesheet/stylus">
</style>
